//==============================================================================
// miningcamp_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Small
            }
         }
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
anim Idle
{
   SetSelector
   {
		TechLogic none/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
                       Visual building n siegecamp_age1
				}
			}
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
                       Visual Building N SiegeCamp_age3
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
                       Visual Building N SiegeCamp_age4

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
		TechLogic none/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
                       Visual building n siegecamp_age1
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
                       Visual Building N SiegeCamp_age3
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Medium A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Medium B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
                       Visual Building N SiegeCamp_age4
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large A
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Large B
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
      }
	}
}


